{% extends "base.html" %}

{% block content %}

{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}

<form method="post" action="{% url django.contrib.auth.views.login %}" >
<table>
<tr>
    <td>{{ form.username.label_tag }}</td>
    <td>{{ form.username }}</td>
</tr>
<tr>
    <td>{{ form.password.label_tag }}</td>
    <td>{{ form.password }}</td>
</tr>
<tr>
	<td></td><td><input type="submit" value="login" class="button" /></td>
</tr>
</table>

<input type="hidden" name="next" value="{{ next }}" />
</form>

<p>
    <a href="{% url auth_password_reset %}">Forgotten your password?</a>
</p>


{% endblock %}
 
